package com.syq.pojo;

import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName: User
 * @Description: TODO
 * @Create by: syq
 * @Date: 2022/7/12 11:08
 */

@Data()
@ToString
public class User {
    private Integer id;
    private String name;
    private Boolean gender;
    @DateTimeFormat(pattern = "yyyy/MM/dd")
    private Date birthday;

    private String[] hobby;
    public User() {
    }
}
